<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title></title>
    <style>
        .parent {
            display: table-cell;
            vertical-align: middle;
            background: #65ff1f;
        }

        /*.son {*/
            /*vertical-align: middle;*/
        /*}*/

        /*默认是基线对齐，改为middle*/
    </style>
</head>
<body>

<div class="parent">
    <div class="son"> 儿子</div>
</div>
</body>
</html>